<?php

use think\migration\Migrator;
use think\migration\db\Column;

class AlterRemoveAgnetIndexMerchantId extends Migrator
{

    public function up()
    {
        try {
            $sql = <<<SQL
ALTER TABLE `agent`
DROP INDEX `merchant_id`;
SQL;
            $this->execute($sql);
        }catch (Exception $exception){

        }

    }
    public function down()
    {


    }
}
